namespace PMS.Common
{
    using System;
    using System.Configuration;
    public class Config
    {
        public static string BackupPath = ConfigurationManager.AppSettings["BackupPath"].ToString();
        public static string ConnectionString = string.Format("Data Source={0};Initial Catalog={1};User ID={2};Password={3};", new object[] { ConfigurationManager.AppSettings["ServerIP"].ToString(), ConfigurationManager.AppSettings["DbName"].ToString(), ConfigurationManager.AppSettings["DbUserID"].ToString(), ConfigurationManager.AppSettings["DbPwd"].ToString() });
        public static string FilePath = ConfigurationManager.AppSettings["FilePath"].ToString();
        public static string GetIPUrl = ConfigurationManager.AppSettings["GetIPUrl"].ToString();
        public static string LogPath = ConfigurationManager.AppSettings["LogPath"].ToString();
        public static string UpdateDate = ConfigurationManager.AppSettings["UpdateDate"].ToString();
        public static string Version = ConfigurationManager.AppSettings["Version"].ToString();
    }
}

